import Vue from 'vue'
import App from './App.vue'

import 'bootstrap/dist/css/bootstrap.min.css'
import './fonts/iconfont.css'

import axios from 'axios'
axios.defaults.baseURL = 'https://www.escook.cn'
Vue.prototype.request = axios

Vue.config.productionTip = false

// 全局指令
Vue.directive('focus', {
  inserted (el) {
    el.focus()
  }
})

new Vue({
  render: h => h(App)
}).$mount('#app')
